package kr.hkit.powerjava.chapter5.work;

public class 단항연산자 {
	public static void main(String[] args) {
		int x = 1;
		int y = 1;
		
		
		int nextx = ++x;
		int nexty = y++;
		
		System.out.println(nextx + "," + nexty);
		
		System.out.println(y);
		
	}

}
